package cn.eonshine.cuba.inf.modular.basic.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;

/**
 * <p>
 * road tanker（油罐车子表）
 * </p>
 *
 * @author Alan
 * @since 2018-10-22
 */
@TableName("inf_road_tanker_subtable")
public class InfRoadTankerSubtable extends Model<InfRoadTankerSubtable> {

    private static final long serialVersionUID = 1L;

    @TableField(exist = false)
    private String id;
    /**
     * tank code
             仓号
     */
    @TableId("CODE")
    private String code;
    /**
     * Basic information of travel primary key
             车船主键
     */
    @TableField("VEHICLE_ID")
    private String vehicleId;
    /**
     * Tanker(Oil truck) transport oil, fill in the value: oil basic information primary key
             油罐车运输油品，填入值：油品基础信息主键
     */
    @TableField("OIL_ID")
    private String oilId;
    /**
     * tank capacity
             仓容
     */
    @TableField("VOLUME")
    private BigDecimal volume;
    /**
     * creator
             创建者
     */
    @TableField("CREATE_BY")
    private String createBy;
    /**
     * Create time
             创建时间
     */
    @TableField("CREATE_DATE")
    private Date createDate;
    /**
     * updater
             更新者
     */
    @TableField("UPDATE_BY")
    private String updateBy;
    /**
     * Update time
             更新时间
     */
    @TableField("UPDATE_DATE")
    private Date updateDate;
    /**
     * Remarks information
             备注信息
     */
    @TableField("REMARKS")
    private String remarks;
    /**
     * Data collection status 数据采集状态
     */
    @TableField("LSMS_UPDATE")
    private BigDecimal lsmsUpdate;
    /**
     * Data input datetime 数据更新时间
     */
    @TableField("DATA_INPUT_DATETIME")
    private Date dataInputDatetime;


    /**  
	 * @Title:  getId <BR>  
	 * @Description: please write your description <BR>  
	 * @author: Alan
	 * @date:   2019-02-14 10:58:53
	 */
	public String getId() {
		return id;
	}

	/**
	 * @Title:  setId <BR>  
	 * @Description: please write your description <BR>  
	 * @param id the id to set <BR>
	 * @author: Alan
	 * @date:   2019-02-14 10:58:53
	 */
	public void setId(String id) {
		this.id = id;
	}

	public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getVehicleId() {
        return vehicleId;
    }

    public void setVehicleId(String vehicleId) {
        this.vehicleId = vehicleId;
    }

    public String getOilId() {
        return oilId;
    }

    public void setOilId(String oilId) {
        this.oilId = oilId;
    }

    public BigDecimal getVolume() {
        return volume;
    }

    public void setVolume(BigDecimal volume) {
        this.volume = volume;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public String getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public BigDecimal getLsmsUpdate() {
        return lsmsUpdate;
    }

    public void setLsmsUpdate(BigDecimal lsmsUpdate) {
        this.lsmsUpdate = lsmsUpdate;
    }

    public Date getDataInputDatetime() {
        return dataInputDatetime;
    }

    public void setDataInputDatetime(Date dataInputDatetime) {
        this.dataInputDatetime = dataInputDatetime;
    }

    @Override
    protected Serializable pkVal() {
        return this.code;
    }

    @Override
    public String toString() {
        return "InfRoadTankerSubtable{" +
        ", code=" + code +
        ", vehicleId=" + vehicleId +
        ", oilId=" + oilId +
        ", volume=" + volume +
        ", createBy=" + createBy +
        ", createDate=" + createDate +
        ", updateBy=" + updateBy +
        ", updateDate=" + updateDate +
        ", remarks=" + remarks +
        ", lsmsUpdate=" + lsmsUpdate +
        ", dataInputDatetime=" + dataInputDatetime +
        "}";
    }
}
